<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="${staticServer}/inc/style/main.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/page.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/date/datepicker.css" />
<link rel="stylesheet" href="${staticServer}/css/consultant_client.css" />
<link rel="stylesheet" href="${staticServer}/css/consultant_personal_stat.css" />
<script src="${staticServer}/inc/js/jquery.js"></script>
<script src="${staticServer}/inc/js/pageset.js"></script>
<script src="${staticServer}/inc/js/htmlfilter.js"></script>
<script src="${staticServer}/inc/js/model_resp.js"></script>
<script src="${staticServer}/inc/js/datepicker.js"></script>
<script src="${staticServer}/js/consultant_personal_stat.js?1.1"></script>
<script>

function starquery(type)
{
	var url = "";
	
	if(type==0)
	{
		var sdate = $("#start_date").val();
		var edate = $("#end_date").val();
		var user = $("#user").val();
		var param_str = "";

		if(!empty(sdate)) param_str += "&sdate=" + sdate;
		if(!empty(edate)) param_str += "&edate=" + edate;
		if(!empty(user)) param_str += "&user=" + user;
		url = "?" + param_str;
	}
	else
	{
		url = "?";
	}
	
	location.href = url;
}
</script>
</head>

<body>
	<div id="home_link">
		<ul>
			<li></li>
			<li>&gt;</li>
			<li>咨询师</li>
			<li>&gt;</li>
			<li class="current"></li>
		</ul>
	</div>

	<div id="container">
		<div id="title"></div>

		<div class="fieldset_container">
			<fieldset>
				<legend>查询条件</legend>
				<ul>
					<li><label>开始月份：</label><input type="text" id="start_date" size="15" value="" rel="DATE::Y-m" /></li>
					<li><label>结束月份：</label><input type="text" id="end_date" size="15" value="" rel="DATE::Y-m" /></li>
					<li><label>查询对象：</label></li>
					<li class="controlbar"><input type="button" value=" 统 计 " onclick="starquery(0)" /> <input type="button"
						value=" 重 置 " onclick="starquery(1)" /></li>
				</ul>
			</fieldset>
		</div>

		<table>
			<tr class="fields">
				<th>客户资源统计</th>
			</tr>
			<tr>
				<td>
				
					<table id="" style="min-width: 100px; width: 49%; float: left; margin: 2px;">
						<tr class="fields">
							<th colspan="2" style=""><span class="unit size14 stress"></span></th>
						</tr>
			
						
						<tr>
							<th width="40%">客户总数量
								<p class="caption">不包括转出数（含无效）</p>
							</th>
							<td width="60%"><span class="statbar" rel="root"></span></td>
						</tr>
			
						<tr>
							<th>无效数量
								<p class="caption">无效、未知、广告推销等</p>
							</th>
							<td><span class="statbar" rel=""></span></td>
						</tr>
						
					
						<tr>
							<th>本地数量
								<p class="caption">本地有中心客户</p>
							</th>
							<td><span class="statbar" rel=""></span></td>
						</tr>
						
						<tr>
							<th>外地数量
								<p class="caption">外地无中心客户</p>
							</th>
							<td><span class="statbar" rel=""></span></td>
						</tr>
			
						<tr>
							<th>转出数量
								<p class="caption">自登记已转出的数量</p>
							</th>
							<td><span class="statbar" rel=""></span></td>
						</tr>
					</table>
				
				</td>
			</tr>
		</table>


		<table>
			<tr class="fields">
				<th>预约统计</th>
			</tr>
			<tr>
				<td>
				
					<table id="" style="min-width: 100px; width: 49%; float: left; margin: 2px;">
						<tr class="fields">
							<th colspan="2" style=""><span class="unit size14 stress"></span></th>

						</tr>
			
						
						<tr>
							<th width="40%">预约数量</th>
							<td width="60%"><span class="statbar" rel="root"></span></td>
						</tr>
						
						<tr>
							<th>实到数量</th>
							<td><span class="statbar" rel=""></span></td>
						</tr>
						
						<tr>
							<th>非测评数量</th>
							<td><span class="statbar" rel=""></span></td>
						</tr>
						
						<tr>
							<th>预约成功率</th>
							<td><span class="statbar percent" rel=""></span></td>
						</tr>
					</table>
				
				</td>
			</tr>
		</table>

		<table>
			<tr class="fields">
				<th>接待表数据统计</th>
			</tr>
			<tr>
				<td>
				
					<table id="" style="min-width: 100px; width: 49%; float: left; margin: 2px;">
						<tr class="fields">
							<th colspan="2" style=""><span class="unit size14 stress"></span></th>
						</tr>
			
						
						<tr>
							<th width="40%">接待数量</th>
							<td width="60%"><span class="statbar" rel="root"></span></td>
						</tr>
						
						
						<tr>
							<th>成单数量</th>
							<td><span class="statbar" rel=""></span></td>
						</tr>
					</table>
				
				</td>
			</tr>
		</table>


		<div class="remark">
			<ul>
				<li><span class="title">注意事项：</span></li>
				<li>1、鼠标悬停在统计条上时，可显示具体的数值</li>
				<li>2、第一行显示的统计条，一般都是统计总数</li>
				<li>3、该页面功能统计一个月中连续4周的数据情况，可能跨越不同的月份</li>
				<li>4、由于统计需要占用大量的资源，请不要频繁进行统计</li>
				<li>&nbsp;</li>
			</ul>
		</div>
	</div>
</body>
</html>